import React from 'react';
import './index.less';
import {connect} from "dva";
import Curd from "components/Curd";
import createColumns from './columns';
import {searchColumns} from './searchColumns'


@connect(({log}) => ({log}))
export default class extends Curd {

  static defaultProps = {
    align: 'left',
  }

  getNamespace() {
    return 'log';
  }

  getTableColumns() {
    return createColumns(this);
  }

  getSearchColumns() {
    return searchColumns;
  }
}
